﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Gem : MonoBehaviour {

    private Transform m_transform;
    private Transform m_gem;
    
	void Start () {
        m_transform = gameObject.GetComponent<Transform>();
        m_gem = m_transform.Find("gem 3");
	}
	
	void Update () {
        m_gem.Rotate(new Vector3(Random.Range(1,2), Random.Range(1,2), Random.Range(1,2)));
	}
}
